﻿﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Options;
using Stock.Model.Entities;

namespace Stock.Model
{
    public class XTContext : DbContext
    {
        public XTContext(DbContextOptions options) : base(options)
        {
            
		}

        public DbSet<in_out_detail> in_out_details { get; set; }
        public DbSet<order> orders { get; set; }
        public DbSet<statement> statements { get; set; }
        public DbSet<stock_1> stock1 { get; set; }
        public DbSet<stock_5> stock5s { get; set; }
        public DbSet<stock_15> stock15s { get; set; }
        public DbSet<user> users { get; set; }
        public DbSet<stock_info> stock_info { get; set; }
        public DbSet<add_monenys> add_monenys { get; set; }
        public DbSet<endLog> endLog { get; set; }

        protected override void OnModelCreating(ModelBuilder builder)
        {
           
        }



        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            base.OnConfiguring(optionsBuilder);

           
        }
    }
}
